package com.mo.axion.handler.deduplication.limit;

import com.mo.axion.common.domain.TaskInfo;
import com.mo.axion.handler.deduplication.DeduplicationParam;
import com.mo.axion.handler.deduplication.service.AbstractDeduplicationService;

import java.util.Set;

/**
 * @author Mo
 * @createTime 2024/2/20 9:08
 * @descripiton
 */
public interface LimitService {
    /**
     * 去重限制
     * @param service 去重对象
     * @param taskInfo
     * @param deduplicationParam 去重服务所需要的参数
     * @return 返回不符合条件的手机号码
     *
     */
    Set<String> limitFilter(AbstractDeduplicationService service, TaskInfo taskInfo, DeduplicationParam deduplicationParam);
}